<table width="100%" class="border2" align="center">
<tr>
    <td>
        <table align="center" width="100%" class="mainmenu5" cellspacing="0" cellpadding="4">
            <tr>
                <td  style="font-size:9pt;">
                    <img src="design/pic/spacer.gif" class="sqr" style="vertical-align:middle;" alt="" width="7" height="7" />
                    <span style="vertical-align:middle;"><b>{language text="my_listings"}</b></span>
                </td>
            </tr>
        </table>
    </td>
</tr>
<tr>
	<td style="font-size:8pt;" class="color">
		{if empty($aListing)}
		<div style="font-size:9pt;" class="color">{language text="no_listing"}</div>
		{else}
		<div style="font-size:9pt;" class="color">
			&nbsp;&nbsp;{str_replace text="`listing_apaging_fromrow_apaging_tor`" aPaging_fromRow="`$aPaging.fromRow`" aPaging_toRow="`$aPaging.toRow`" aPaging_totalRows="`$aPaging.totalRows`" }
		</div>
		<br />
        <table style="width: 100%;" cellpadding="0" cellspacing="0">
        <tr>
            <td>
    			<table style="width:100%;" cellspacing="0" cellpadding="4">
    				<tr class="border4">
    					<td style="width:15%;vertical-align:top;font-size:9pt;text-align:center;" class="color">
    						<img src="design/pic/spacer.gif" class="sqr" style="vertical-align:middle;" alt="" width="7" height="7" />
    						<span style="vertical-align:middle;"><b>{language text="date"}</b></span>
    					</td>
    					<td style="width:70%;font-size:9pt;vertical-align:top;" class="color">
    						<img src="design/pic/spacer.gif" class="sqr" style="vertical-align:middle;" alt="" width="7" height="7" />
    						<span style="vertical-align:middle;"><b>{language text="subject"}</b></span>
    					</td>
    					<td style="width:15%;vertical-align:top;font-size:9pt;text-align:center;" class="color">
    						<img src="design/pic/spacer.gif" class="sqr" style="vertical-align:middle;" alt="" width="7" height="7" />
    						<span style="vertical-align:middle;"><b>{language text="views"}</b></span>
    					</td>
    				</tr>
    			</table>
			{foreach from=$aListing item=aItem name=listings}
			<table style="width:100%;border-top:0px;" cellpadding="3" cellspacing="3" {if $smarty.foreach.listings.iteration %2 }class="border13"{/if}>
				<tr>
					<td style="width:15%;vertical-align:top;text-align:center;font-size:8pt;" class="color">
						{$aItem.time|date_format:$sDateFormatShort}<br />
						{if $aItem.bloc}
							<a href="{url link=public.listing.viewall country=$aItem.location}">{img src=$aItem.srcf alt=$aItem.location style="vertical-align:middle;" onmouseover="showInfo2(this.alt)" onmouseout="return nd();" style="vertical-align: middle;" height="12" width="18"}</a>
						{/if}
					</td>
					<td style="width:70%;font-size:9pt;vertical-align:top;" class="color">
						<b><a href="{url link=public.listing.view id=$aItem.id}">{$aItem.title|escape}</a></b>
						<div style="padding:4px;font-size:8pt;">
							<b>{language text="posted_by_604"}:</b> <a href="{url link=public.user name=$aItem.user}">{$aItem.user}</a>
		 					{if !$aItem.views}<span style="font-size:7pt;">( {language text="new"} )</span>{/if}
						</div>
						<div style="padding:4px;font-size:8pt;">
							<b>{language text="location"}:</b> {$aItem.city|escape}{if !empty($aItem.state)}, {$aItem.state}{/if}
						</div>
					</td>
					<td style="width:15%;vertical-align:middle;text-align:center;font-size:9pt;" class="color">{$aItem.views}</td>
				</tr>
			</table>
			{/foreach}
            </td>
        </tr>
        </table>
        {/if}
	</td>
</tr>
</table>
{include file="$sMainTemplatePath/_blocks/pager.html"}
<br /><br />